import request from "./axios";

export function updateUserById(data) {
  return request({
    url: "/api/tnt/users/update",
    method: "put",
    data,
  });
}

export function DeleteUserById(id) {
  return request({
    url: "/api/tnt/users/delete/" + id,
    method: "delete",
  });
}
